<!--************************************************************ -->
<!--* 文件创建日期：2010                                  * -->
<!--* 文件修改日期：			                                   * -->
<!--************************************************************ -->
<!--JSP初始化设置-->
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%  response.addDateHeader("Expires", 0);response.setHeader("Pragma","no-cache"); response.setHeader("Cache-Control","no-cache");%>
<html>
<head>
	<title>内务管理计划</title>
	<link href="../../css/table.css" rel="stylesheet" type="text/css">
	<link href="../../css/calendar.css" rel="stylesheet" type="text/css">
	<script type="text/javascript" src="../../js/calendar.js"></script>
	<script type="text/javascript">
		function showTree(obj) {
			frame.location.href = "../common/deptTree.jsp";
			var treeFrame = document.getElementById("treeFrame");
			treeFrame.style.display = "";
			var region = obj.getBoundingClientRect();
			treeFrame.style.left = region.left;
			treeFrame.style.top = region.bottom;
			treeFrame.style.width = obj.clientWidth;
			treeFrame.style.height = 200;
		}

		function clickBody() {
			var srcObj = event.srcElement;
			var treeFrame = document.getElementById("treeFrame");
			if(srcObj.treeSelect == "true"){
				
			}else {
				treeFrame.style.display = "none";
			}
		}
	</script>
</head>
<body  rightmargin="0" bottommargin="0" leftmargin="0" topmargin="0" onclick="clickBody();">
	<table class="dialogTable" cellpadding="0" cellspacing="0">
		<!-- 表头-->
		<tr class="dialogTableHeader">
			<td>内务管理计划</td>
		</tr>
		<!-- 表数据-->
		<tr class="dialogTableContent">
			<td>
				<!-- 数据项 -->
				<table class="dataTable">
					<col width="30%">
					<col width="70%">
					<tr>
						<td class="field">
							负责人
						</td>
						<td>
							<span class="treeSpan" onclick="showTree(this);" treeSelect="true">
								<input value="satan" style="width: 356px;" readonly="readonly" treeSelect="true">
							</span>
						</td>
					</tr>
					<tr>
						<td class="field">
							所属单位
						</td>
						<td>
							<span class="treeSpan" onclick="showTree(this);" treeSelect="true">
								<input value="satan" style="width: 356px;" readonly="readonly" treeSelect="true">
							</span>
						</td>
					</tr>
					<tr>
						<td  class="field">
							检查对象
						</td>
						<td>
							<input value="xx" style="width: 100%;">
						</td>
					</tr>
					<tr>
						<td class="field">
							计划执行日期
						</td>
						<td>
							<input type="text" style="width: 230px;cursor: hand;" id="time" onClick="return showCalendar(this.id, 'y-mm-dd');" readonly="readonly"><img 
									src="../../img/tip_calender.gif" style="cursor: hand;" width="16" height="16" onClick="return showCalendar('time', 'y-mm-dd');">
						</td>
					</tr>
					<tr style="height: 100px">
						<td class="field">
							内容
						</td>
						<td valign="top">
							<textarea style="width: 100%;height: 100%"></textarea>
						</td>
					</tr>
					<tr style="height: 100px">
						<td class="field">
							备注
						</td>
						<td valign="top">
							<textarea style="width: 100%;height: 100%"></textarea>
						</td>
					</tr>
				</table>
			</td>
		</tr>
		<tr>
			<td colspan="2" class="tableBtn">
				<span>确定</span>
				<span onclick="window.close();">取消</span>
			</td>
		</tr>
		<tr valign="top">
			<td colspan="2">
				&nbsp;
			</td>
		</tr>
	</table>
	<iframe src="#" frameborder="0" id="treeFrame" name="frame" style="display: none;position: absolute;"></iframe>
</body>
</html>